const ROlE_TYPE = {
  1: '管理员'
}

const SELECT_ROLE = {
  parent: '家长',
  teacher: '老师',
  guard: '门卫'
}
const TESLIST = {
  'yes': '是',
  'no': '否'
}
const DISEASE = {
  personal_leave: '事假',
  sick_leave: '病假'
}
const ENTERSCHOOL = {
  send_personal_belongings: '送个人物品',
  teacher_invite: '老师邀请',
  visiting_children: '看望孩子',
  other: 'other'
}
const PARENTLIST = ['父亲', '母亲', '奶奶', '爷爷', '姥姥', '姥爷', '其他']
const SELECT_ROLE_LIST = [
  { tabel: '家长', value: 'parent' },
  { tabel: '老师', value: 'teacher' },
  { tabel: '门卫', value: 'guard' }
]
const sickType = {
  'noncommunicable' : '非传染',
  'infectious' : '传染'
}
const SELECT_STATUS = {
  0: '待处理',
  1: '已处理',
  2: '已发起'
}
const LEAVE_STATUS = {
  'cancel': '取消申请',
  'reviewed_teacher': '待老师审核',
  'reviewed_parent': '待家长审核',
  'approved_guard': '待门卫审批',
  'leave_cancelled': '待销假',
  'leave_cancelled_reviewed_teacher': '待销假待老师审批',
  'leave_cancelled_reviewed_guard': '待销假待门卫审批',
  'completed': '已完成',
  'approval_rejected_reviewed_teacher_resubmit': '审批驳回待老师重新提交',
  'approval_rejected_reviewed_parent_resubmit': '审批驳回待家长重新提交',
  'approval_rejected_resubmit_leave_cancelled': '审批驳回重新提交待销假'
}
const PARENT_STATUS_LIST = {
  'cancel': '取消入校',
  'teacher_approval': '待老师审批',
  'parent_resubmit': '待家长重新提交',
  'guard_enrolled_approval': '待门卫入校审批',
  'guard_out_approval': '待门卫出校审批',
  'complete': '已完成'
}
// const SELECT_STATUS_LIST = ['待老师审核', '待家长审核', '待门卫审批', '待销假', '待销假待老师审批', '待销假待门卫审批', '已完成', '审批驳回待老师重新提交', '审批驳回待家长重新提交', '审批驳回重新提交待销假']
const LEAVE_STATUS_LIST = [
  { title: '待老师审核', value: 'reviewed_teacher' },
  { title: '待家长审核', value: 'reviewed_parent' },
  { title: '待门卫审批', value: 'approved_guard' },
  { title: '待销假', value: 'leave_cancelled' },
  { title: '待销假待老师审批', value: 'leave_cancelled_reviewed_teacher' },
  { title: '待销假待门卫审批', value: 'leave_cancelled_reviewed_guard' },
  { title: '已完成', value: 'completed' },
  { title: '审批驳回待老师重新提交', value: 'approval_rejected_reviewed_teacher_resubmit' },
  { title: '审批驳回待家长重新提交', value: 'approval_rejected_reviewed_parent_resubmit' },
  { title: '审批驳回重新提交待销假', value: 'approval_rejected_resubmit_leave_cancelled' }
]
export {
  sickType,
  PARENT_STATUS_LIST,
  LEAVE_STATUS,
  LEAVE_STATUS_LIST,
  DISEASE,
  TESLIST,
  // SELECT_STATUS_LIST,
  ENTERSCHOOL,
  PARENTLIST,
  SELECT_ROLE_LIST,
  ROlE_TYPE,
  SELECT_ROLE,
  SELECT_STATUS
}
